Conforms to NSObject
Declared in IMNativeDelegate.h

Overview

  • A listener for receiving notifications during the lifecycle of an native ad. *
  • Note All the events in this listener will be invoked on your application’s UI thread. *
  • In most cases your application will need to listen for the following events on an native ad

The outcome of an ad request (if the request succeeded or failed); see nativeDidFinishLoading:(IMNative)native; and native:(IMNative)native didFailToLoadWithError:(IMRequestStatus*)error;

The ad opened an overlay that covered the screen. This means that the user can no longer interact with your application; see nativeDidPresentScreen:(IMNative*)native;

The ad opened overlay was dismissed. The user is now free to interact with your application; see nativeDidDismissScreen:(IMNative*)native;

A user interaction with the ad will result in the User leaving your application context; see userWillLeaveApplicationFromNative:(IMNative*)native;

Instance Methods

native:didFailToLoadWithError:

Notifies the delegate that the native ad has failed to load with error.

- (void)native:(IMNative *)native didFailToLoadWithError:(IMRequestStatus *)error

Discussion

Notifies the delegate that the native ad has failed to load with error.

Declared In

IMNativeDelegate.h

native:didInteractWithParams:

Notifies the delegate that the native ad has been interacted with.

- (void)native:(IMNative *)native didInteractWithParams:(NSDictionary *)params

Discussion

Notifies the delegate that the native ad has been interacted with.

Declared In

IMNativeDelegate.h

nativeAdImpressed:

Notifies the delegate that the native ad impression has been tracked

- (void)nativeAdImpressed:(IMNative *)native

Discussion

Notifies the delegate that the native ad impression has been tracked

Declared In

IMNativeDelegate.h

nativeDidDismissScreen:

Notifies the delegate that the native ad has dismissed the presented full screen content.

- (void)nativeDidDismissScreen:(IMNative *)native

Discussion

Notifies the delegate that the native ad has dismissed the presented full screen content.

Declared In

IMNativeDelegate.h

nativeDidFinishLoading:

Notifies the delegate that the native ad has finished loading

- (void)nativeDidFinishLoading:(IMNative *)native

Discussion

Notifies the delegate that the native ad has finished loading

Declared In

IMNativeDelegate.h

nativeDidFinishPlayingMedia:

Notifies the delegate that the native ad has finished playing media.

- (void)nativeDidFinishPlayingMedia:(IMNative *)native

Discussion

Notifies the delegate that the native ad has finished playing media.

Declared In

IMNativeDelegate.h

nativeDidPresentScreen:

Notifies the delegate that the native ad has presented a full screen content.

- (void)nativeDidPresentScreen:(IMNative *)native

Discussion

Notifies the delegate that the native ad has presented a full screen content.

Declared In

IMNativeDelegate.h

nativeWillDismissScreen:

Notifies the delegate that the native ad would be dismissing the presented full screen content.

- (void)nativeWillDismissScreen:(IMNative *)native

Discussion

Notifies the delegate that the native ad would be dismissing the presented full screen content.

Declared In

IMNativeDelegate.h

nativeWillPresentScreen:

Notifies the delegate that the native ad would be presenting a full screen content.

- (void)nativeWillPresentScreen:(IMNative *)native

Discussion

Notifies the delegate that the native ad would be presenting a full screen content.

Declared In

IMNativeDelegate.h

userWillLeaveApplicationFromNative:

Notifies the delegate that the user will be taken outside the application context.

- (void)userWillLeaveApplicationFromNative:(IMNative *)native

Discussion

Notifies the delegate that the user will be taken outside the application context.

Declared In

IMNativeDelegate.h